package com.wondertek.service.dto.business.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/9/4 17:27
 */
@Data
public class ModifyDevicePasswordReq {
    @NotBlank(message = "device.sn.not.null")
    @Schema(name = "deviceSn", description = "设备sn")
    private String deviceSn;

    @NotBlank(message = "old.password.not.null")
    @Schema(name = "oldDevCode", description = "旧的密码")
    private String oldDevCode;

    @NotBlank(message = "new.password.not.null")
    @Schema(name = "newDevCode", description = "新的密码")
    private String newDevCode;
}
